package com.xu.crawler.dao.entity;

import org.springframework.data.mongodb.core.mapping.Document;
import us.codecraft.webmagic.model.BaseDO;

/**
 * 需要纪录 category ，url ,createTime ,sourceId 这几个关键字段
 * Created by clear on 2018/7/13.
 */
@Document(collection = "history_record")
public class HistoryRecordDO extends BaseDO {

    private String category; //类别 news/business

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
